﻿#region - Class details -
/*  
 *  Developer   : Wicus Botha
 *  Description : 
 *  History     : WB - 2008-10-20 - Created
 */
#endregion

using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

namespace IQ.DbBase
{
    public class DbHelperObj
    {
        #region # Constructor #
        public DbHelperObj()
        {
        }
        #endregion

        #region - Private variables -
        private string connectionString;
        #endregion

        #region - Private methods -
        #endregion

        #region - Public properties / variables -
        public ConnectionTypes ConnectionType = ConnectionTypes.SqlServer; // default
        public string ConnectionString
        {
            get { return connectionString; }
            set { connectionString = value; }
        }
        #endregion

        #region - Public methods -
        public DataTable Load_Table(string sql)
        {
            return DbHelper.LoadTable(connectionString, sql);
        }
        #endregion
    }
}
